package com.fifth.emp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Message;
import com.fifth.emp.mapper.MessageMapper;

/**
 * <p>
 * 系统通知表 服务类
 * </p>
 *
 * @author 徐志豪
 * @since 2022-09-02
 */
public interface IMessageService  {

    CommonResult sendMessage(Message message);

    CommonResult getMessage(Integer currentPage, Integer pageSize, String startTime,String endTime);

    CommonResult deleteMessageById(String id);

    CommonResult getMessageById(Integer id);

    CommonResult updateMessage(Message message);
}
